package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;
import com.itheima.health.pojo.Role;

import java.util.List;

public interface CheckMenuService {
    PageResult pageQuery(QueryPageBean queryPageBean);

    List<Role> findAll();

    void add(Menu menu, Integer[] roleIds);

    void delete(Integer menuId);

    Menu findById(Integer menuId);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void edit(Menu menu, Integer[] roleIds);
}
